 {
        
       cc.Class({
            extends: cc.Component,
            properties: {
                nodeMultiGangItem: {
                    default: null,
                    type: cc.Prefab
                }
            },
            start: function () {
            },
            onClickCancel: function () {
                Global.notificationCenter.emit(Global.eventName.GAME_GUO);
                var e = Global.tableModel.getRoomId(), t = Global.tableModel.getTableId(),
                    n = Global.tableModel.getSeatId();
                0 != e && 0 != t ? Global.msgHandler.requestGuo(e, t, n) : cc.error("WaittingController onClickBack", "roomId = " + e + " tableId = " + t + " seatId = " + n);
            },
            bindData: function (e, t, n) {
                for (var o = [], i = 0; i < e.length; i++) {
                    var a = cc.instantiate(this.nodeMultiGangItem);
                    if (a) {
                        o.push(a);
                        var r = a.getComponent("MultiGangItemController");
                        r && r.bindData(e[i], t, n);
                    }
                }
                var s = o.length, l = 230 * s;
                for (i = 0; i < s; i++) {
                    var c = o[i];
                    c.setPosition(cc.p(230 * i - l / 2 + 115, -100)), this.node.addChild(c);
                }
            }
        })
    }